HCL
Skip to main content  
 
   


SPRTechnote


Evaluate method used with @SetField function does not work

Technote Number: 1220390


Problem:
This issue was reported to Quality Engineering as SPR# BKOH6HBGFQ and was fixed
in Notes/Domino releases 6.5.6 and 7.0.2.

Excerpt from the Lotus Notes and Domino 6.5.6 MR fix list and 7.0.2 fix list
(available at http://www.ibm.com/developerworks/lotus):

Java
SPR# BKOH6HBGFQ - Fixed a problem where the item value was not refreshed when
it was changed by @SetField in the Evaluate method.

Workaround
If you haven't yet upgraded, save the document before calling the Evaluate
method and the @SetField function will work as expected. Another workaround is
to save the document using the Save method (of the Document class) prior to
calling the Evaluate method.

For example:
doc.save(true, true);
session.evaluate("@setfield('Fieldname';'new value')", doc);

NOTE: The Evaluate method is only available for the Component Object Model
(COM) interface.

Refer to the Upgrade Central site for details on upgrading Notes/Domino.
More >





  Document options
Print this document
Print view

  Search
Search Advanced Search


  Fix list views

 RSS feeds   RSS
Subscribe to the fix list

  Resources
Using this database
View notices

  HCL Support
HCL Support


    About HCL Privacy Contact